<?php defined('ByShopWWI') or exit('Access Invalid!');?>
<link href="<?php echo SHOP_TEMPLATES_URL;?>/css/wwi-main.css" rel="stylesheet" type="text/css"><style type="text/css">.public-nav-layout,.classtab a.curr,.head-search-bar .search-form,.public-nav-layout .category .hover .class{background: #eb0a00;}.public-head-layout .logo-test{ color:#eb0a00}.public-nav-layout .category .sub-class{ border-color: #eb0a00;}</style>
<div class="ncp-member-info">
  <div class="avatar"><img src="<?php echo getMemberAvatarForID($_SESSION['member_id']);?>" />
    <div class="frame"></div>
  </div>
  <dl>
    <dt>Hi, <?php echo $_SESSION['member_name'];?></dt>
    <dd>会员等级：<strong class="nc-grade-mini"><?php echo $output['member_info']['member_type_name'] ?> </strong></dd>
    <dd>账户余额：<strong class="nc-grade-mini">￥<?php echo $output['member_info']['available_predeposit'];?> </strong></dd>
  </dl>
</div>
<!--去掉升级
<div class="ncp-member-grade">
  <?php if ($output['member_info']['level'] !== -1){ ?>
  <div class="progress-bar"><em title="<?php $vipl= $output['member_info']['downgrade_name']; echo $vip1;?>需经验值<?php $vipg = $output['member_info']['downgrade_exppoints'];echo $vipg;?>"><?php $vip3 = $output['member_info']['downgrade_name'];if($vip3=='V0'){ echo '消费会员';} if($vip3=='V1'){ echo '创业会员';} if($vip3=='V2'){ echo '董事级会员';} if($vip3=='V3'){ echo '代理商';}?></em><span title="<?php echo $output['member_info']['exppoints_rate'];?>%"><i style="width:<?php echo $output['member_info']['exppoints_rate'];?>%;"></i></span><em title="<?php echo $output['member_info']['upgrade_name'];?>需经验值<?php echo $output['member_info']['upgrade_exppoints'];?>"><?php $vip4 = $output['member_info']['upgrade_name']; if($vip4=='V0'){ echo '消费会员';} if($vip4=='V1'){ echo '创业会员';} if($vip4=='V2'){ echo '董事级会员';} if($vip4=='V3'){ echo '代理商';}?></em></div>
  <div class="progress">
    <?php if ($output['member_info']['less_exppoints'] > 0){?>
    还差<em><?php echo $output['member_info']['less_exppoints'];?></em>经验值即可升级成为<?php $vipd = $output['member_info']['upgrade_name'];  if($vipd=='V0'){ echo '消费会员';} if($vipd=='V1'){ echo '创业会员';} if($vipd=='V2'){ echo '董事级会员';} if($vipd=='V3'){ echo '代理商';}?>等级会员
    <?php } else {?>
    已达到最高会员级别，继续加油保持这份荣誉哦！
    <?php }?>
  </div>
  <?php } else { ?>
  暂无等级
  <?php } ?>
  <div class="links">
    <div class="links"> <a href="<?php echo urlShop('pointgrade','index');?>" target="_blank">我的成长进度</a> <a href="<?php echo urlShop('pointgrade','exppointlog');?>" target="_blank">经验值明细</a> </div>
  </div>
</div>
 end-->
  <div class="user-account">
    <dl class="account05">
      <a href="<?php echo urlMember('member_points');?>" title="查看我的普积分">
      <dt>可用普积分</dt>
      <dd class="value"><em><?php echo round($output['member_info']['member_points'],2);?></em></dd>
      </a>
    </dl>
    <dl class="account05">
      <a href="<?php echo urlMember('reds_member_points');?>" title="查看我的惠积分">
      <dt>可用惠积分</dt>
      <dd class="value"><em><?php echo round($output['member_info']['member_red_points'],2);?></em></dd>
      </a>
    </dl>
  </div>
<?php if (C('pointprod_isuse')==1){?>
<div class="ncp-memeber-pointcart"> <a href="#" class="btn">礼品兑换[即将开通]<?php if ($output['pointcart_count'] > 0){?><em><?php echo $output['pointcart_count']; ?></em><?php } ?></a></div>
<?php }?>

        